package com.czq.service;

import com.czq.domain.Menu;
import com.czq.mapper.MenuMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * @author Czq
 * @version V1.0.0
 * @Date 2024/1/17 15:31
 */
@Service
public class MenuService{

    @Resource
    private MenuMapper menuMapper;

    public List<Menu> listMenu() {
        return menuMapper.selectList(null);
    }

}
